import request from '@/utils/request'

// 登录请求API
export const login = data => request.post('/sys/login', data)

// 获取用户基本信息
export const getUserProfile = () => request.post('/sys/profile')

// 获取用户信息
export const getUserInfo = id => request.get('/sys/user/' + id)

